package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 国家表
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("base_country")
public class BaseCountry implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 国家ID
     */
    @TableId(value = "country_id", type = IdType.AUTO)
    private Long countryId;
    /**
     * 国家代码
     */
    @TableField("country_code")
    private String countryCode;
    /**
     * 国家名称
     */
    @TableField("country_name")
    private String countryName;
    /**
     * 国家拼音
     */
    @TableField("country_pinyin")
    private String countryPinyin;
    /**
     * 排序
     */
    @TableField("country_order")
    private Integer countryOrder;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建者
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 修改者
     */
    @TableField("modified_by")
    private String modifiedBy;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 数据状态 0删除 1正常
     */
    @TableField("rd_status")
    private Integer rdStatus;


    public Long getCountryId() {
        return countryId;
    }

    public void setCountryId(Long countryId) {
        this.countryId = countryId;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getCountryPinyin() {
        return countryPinyin;
    }

    public void setCountryPinyin(String countryPinyin) {
        this.countryPinyin = countryPinyin;
    }

    public Integer getCountryOrder() {
        return countryOrder;
    }

    public void setCountryOrder(Integer countryOrder) {
        this.countryOrder = countryOrder;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "BaseCountry{" +
        ", countryId=" + countryId +
        ", countryCode=" + countryCode +
        ", countryName=" + countryName +
        ", countryPinyin=" + countryPinyin +
        ", countryOrder=" + countryOrder +
        ", remark=" + remark +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", modifiedBy=" + modifiedBy +
        ", modifiedTime=" + modifiedTime +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
